import java.util.Scanner;
public class Time
{
    public static void main (String[]args)
    {
        int hours;
        int minutes;
        int seconds;
        int time;
       
        Scanner scan = new Scanner (System.in);
       
        System.out.print("Enter hours:");
        hours = scan.nextInt();
        System.out.print("Enter minutes:");
        minutes = scan.nextInt();
        System.out.print("Enter seconds:");
       
        seconds = scan.nextInt();
        hours = 3600*seconds;
        minutes = 60*seconds;
        
        time = seconds + miuntes + hours;
        System.out.println("Time:"+time);
     }
}
               
           
